# Import `xlwt`
import xlwt

# Initialize a workbook
book = xlwt.Workbook(encoding="utf-8")

# Add a sheet to the workbook
sheet1 = book.add_sheet("Python Sheet 1")
sheet2 = book.add_sheet("Python Sheet 2")

# Write to the sheet of the workbook
sheet1.write(0, 0, "This is the First Cell of the First Sheet")
sheet2.write(1, 1, "Test")
for i in range(1, 10):
    for j in range(20, 30):
        sheet2.write(i, j, i * j)

# Save the workbook
book.save("spreadsheet.xlsx")
